package com.huilian.tool.weixin.enums;

import lombok.Getter;

/**
 * @authou 少凡
 * @Date 2019-04-12 18:08
 */
@Getter
public enum MessageTypeEnum {

    TEXT("text", "文本消息"),
    IMAGE("image", "图片消息"),
    VIDEO("video", "视频消息"),
    VOICE("voice", "语音消息"),
    SHORT_VIDEO("shortvideo", "小视频消息"),
    LOCATION("location", "地理位置消息"),
    LINK("link", "链接消息"),
    EVENT("event", "事件消息"),

    ;

    private String code;
    private String desc;

    MessageTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}

